package com.seaengine.resourcemanager.loadtool
{

	/**
	 * 加载器数据
	 * @author 周玉龙
	 * 二〇一一年四月十七日 15:46:53
	 */	
	public class LoaderData implements ILoader
	{
	
		//--------------------------------------------------------------------------
		//
		//  variable
		//
		//--------------------------------------------------------------------------
		
		public function LoaderData()
		{
			
		}
	
		//--------------------------------------------------------------------------
		//
		//  property
		//
		//--------------------------------------------------------------------------
		private var _data:Object;
		
		/**
		 * 设置加载好数据
		 */		
		public function set data(obj:Object):void
		{
			_data = obj;
		}
		
		public function get data():Object
		{
			return _data;
		}
		
		private var _method:Function;
		
		/**
		 * 设置回调方法
		 */		
		public function set method(fun:Function):void
		{
			_method = fun;
		}
		
		public function get method():Function
		{
			return _method;
		}
		
		private var _paramList:Array;
		
		/**
		 * 设置可变参数列表
		 */		
		public function set paramList(param:Array):void
		{
			_paramList = param;
		}
		
		public function get paramList():Array
		{
			return _paramList;
		}
	}
}